package com.tz.farmer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smartPark.msframe.result.ResultEx;
import com.tz.farmer.model.FarmerCorrect;
import com.tz.farmer.so.FarmerCorrectSo;

public interface WebFarmerCorrectService extends IService<FarmerCorrect> {

    /**
     *  条件查询
     * @param so
     * @return
     */
    ResultEx getCorrectListByConditions(FarmerCorrectSo so);

    /**
     * 修改 软删除 添加
     * @param so
     * @return
     */
    ResultEx updateAndAddCorrect(FarmerCorrectSo so);

    /**
     * 单查
     * @param so
     * @return
     */
    ResultEx getOneDetails(FarmerCorrectSo so);

    /**
     * 硬删除一条记录
     * @param so
     * @return
     */
    ResultEx deleteOne(FarmerCorrectSo so);
}
